import request from "@/api/request";

export const reqBannerList = () => request({url: '/home/banner'})

export const reqGoodsList = (data) => request({url: '/goods/list', data})

export const reqGoodsDetail = (data) => request({url: '/goods/detail', data})

export const reqSkuDetail = (data) => request({url: '/goods/sku/detail', data})

export const reqSubmitOrder = (data) => request({url: '/order/submit', method: 'POST', data})

export const reqSendMsg = (data) => request({url: '/user/sendMsg', method: 'POST', data})

export const reqLogin = (data) => request({url: '/user/login', method: 'POST', data})

export const reqPayOrder = (data) => request({url: '/order/pay', method: 'POST', data})

export const reqOrderList = (data) => request({url: '/order/list', data})

export const reqOrderDetail = (data) => request({url: '/order/detail', data})
